FROM maven:3.6.3-openjdk-8
RUN mkdir -p /rpan-settings
WORKDIR /rpan-settings
ARG JAR_FILE=target/Rpan-settings.jar
COPY start.sh /usr/bin/start.sh
COPY ${JAR_FILE} app.jar
EXPOSE 8020
RUN chmod +x /usr/bin/start.sh
CMD ["sh", "/usr/bin/start.sh"]

